import request from '@/utils/request'

// 获取所有角色
export const roleList = () => {
  return request({
    url: '/roleList'
  })
}

// 获取指定角色权限
export const rolePermission = () => {
  return request({
    url: '/rolePermissionList'
  })
}
